package com.matt.repository.base;

import com.matt.foundation.vo.children.BabyNClassInfoVO;
import com.matt.foundation.vo.classes.ClassesVo;

import java.util.List;

/**
 * *******************************
 * Created by lch.
 * form com.matt
 * on 2018/11/22
 * *******************************
 */
public interface ClassNativeRepository {

    List<ClassesVo> findByAreaIdAndCategoryAndDeleted(String areaId, Integer category);
    List<BabyNClassInfoVO> findByAreaIdAndCategoryAndChildrenIds(String areaId, Integer category, String childName, String classId, List<String> childrenIds);

    List<BabyNClassInfoVO> findByAreaIdAndCategoryAndChildrenIdsV2(String areaId, String childName, String classId, List<String> childrenIds);

    List<BabyNClassInfoVO> findByAreaIdAndCategoryAndChildrenIds(String areaId, String childName, String classId);

    List<ClassesVo> findByAreaId(String areaId);

    Long findCountByClassesId(String classesId);

    Integer getTeacherChildCheckInCount(String staffId, String date);

}
